home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM FullBuild.bat
- REM This compiles the product in a debug state and places the executables and sundry files into a named directory.
-
- REM Build the first project.
- CD "..\My Project 1"
- BRCC32 ExtraData.rc
- DCC32 /B /H /W /Q /$D+ /$C+ /$O- /E..\BuildOutput MyProject1.dpr
- IF ERRORLEVEL 1 GOTO FAILED
-
- REM Now build the second project.
- CD "..\My Project 2"
- DCC32 /B /H /W /Q /$D+ /$C+ /$O- /E..\BuildOutput MyProject2.dpr
- IF ERRORLEVEL 1 GOTO FAILED
-
- REM Make the help file.
- CD ..\HELP
- HCW /C /E myproduct.hpj
- IF ERRORLEVEL 1 GOTO FAILED
- COPY MyProduct.hlp ..\BuildOutput
-
- ECHO My Product built OK
- GOTO END
-
- :FAILED
- ECHO My Product failed to build
-
- :END
- CD ..\Build